package com.tasly.design;

import com.tasly.common.ceiling.OnAverageCeiling;
import com.tasly.common.ceiling.SpecialShapedCeiling;
import com.tasly.common.coat.DuoLeShiCoat;
import com.tasly.common.coat.LiBangCoat;
import com.tasly.common.floor.ShengXiangFloor;
import com.tasly.common.tile.DongPengTile;
import com.tasly.common.tile.MaKeBoLuoTile;
import com.tasly.design.impl.PackageMenu;

/**
 * ClassName:Builder
 * Description:
 *
 * @Author 肖宝成
 * @Create 2024/12/16 21:39
 * @Version 1.0
 */
public class Builder {
    public IMenu levelOne(Double area){
        PackageMenu haoHuaOuShi = new PackageMenu("豪华欧式",area);
        haoHuaOuShi.appendCeil(new SpecialShapedCeiling())
                .appendCoat(new LiBangCoat())
                .appendFloor(new ShengXiangFloor());
        return haoHuaOuShi;
    }
    public IMenu levelTwo(Double area){
        PackageMenu xianDaiJianYue = new PackageMenu("现代简约",area);
        xianDaiJianYue.appendCeil(new OnAverageCeiling())
                .appendCoat(new DuoLeShiCoat())
                .appendTile(new DongPengTile());
        return xianDaiJianYue;
    }
    public IMenu levelThree(Double area){
        PackageMenu xianDaiJianYue = new PackageMenu("轻奢⽥园",area);
        xianDaiJianYue.appendCeil(new OnAverageCeiling())
                .appendCoat(new LiBangCoat())
                .appendTile(new MaKeBoLuoTile())
                .appendFloor(new ShengXiangFloor());
        return xianDaiJianYue;
    }
}
